package com.ccsoft.zknote.pojo;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author chanchaw
 * @create 2023-07-08 20:52
 */
@Table("z_note_thing_log")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class NoteThingLog {
    @Id(keyType = KeyType.Auto)
    private Integer id;
    private Date time;
    private String event;
    private String desc;
    @Column("u_id")
    private Integer userId;
    @Column("n_id")
    private Integer noteId;
    @Column("t_id")
    private Integer thingId;
}
